package com.jyw.business.obstacles.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jyw.business.obstacles.domain.ObsPhoneBox;

/**
 * 报障-电话盒子Mapper接口
 * 
 * @author system
 * @date 2023-08-22
 */
public interface ObsPhoneBoxMapper extends BaseMapper<ObsPhoneBox>
{
    /**
     * 查询报障-电话盒子
     * 
     * @param id 报障-电话盒子主键
     * @return 报障-电话盒子
     */
    public ObsPhoneBox selectObsPhoneBoxById(Long id);

    /**
     * 查询报障-电话盒子列表
     * 
     * @param obsPhoneBox 报障-电话盒子
     * @return 报障-电话盒子集合
     */
    public List<ObsPhoneBox> selectObsPhoneBoxList(ObsPhoneBox obsPhoneBox);

    /**
     * 新增报障-电话盒子
     * 
     * @param obsPhoneBox 报障-电话盒子
     * @return 结果
     */
    public int insertObsPhoneBox(ObsPhoneBox obsPhoneBox);

    /**
     * 修改报障-电话盒子
     * 
     * @param obsPhoneBox 报障-电话盒子
     * @return 结果
     */
    public int updateObsPhoneBox(ObsPhoneBox obsPhoneBox);

    /**
     * 删除报障-电话盒子
     * 
     * @param id 报障-电话盒子主键
     * @return 结果
     */
    public int deleteObsPhoneBoxById(Long id);

    /**
     * 批量删除报障-电话盒子
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteObsPhoneBoxByIds(Long[] ids);
}
